package com.exam.mss;

import com.exam.entity.TempAnswerHistory;
import com.exam.entity.TempAnswerHistoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TempAnswerHistoryMapper {
    long countByExample(TempAnswerHistoryExample example);

    int deleteByExample(TempAnswerHistoryExample example);

    int deleteByPrimaryKey(Integer temphistoryid);

    int insert(TempAnswerHistory record);

    int insertSelective(TempAnswerHistory record);

    List<TempAnswerHistory> selectByExample(TempAnswerHistoryExample example);

    TempAnswerHistory selectByPrimaryKey(Integer temphistoryid);

    int updateByExampleSelective(@Param("record") TempAnswerHistory record, @Param("example") TempAnswerHistoryExample example);

    int updateByExample(@Param("record") TempAnswerHistory record, @Param("example") TempAnswerHistoryExample example);

    int updateByPrimaryKeySelective(TempAnswerHistory record);

    int updateByPrimaryKey(TempAnswerHistory record);
}